package com.party.mapper;

import com.party.model.Lodge;
import com.party.model.LodgeExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface LodgeMapper {
    int countByExample(LodgeExample example);

    int deleteByExample(LodgeExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(Lodge record);

    int insertSelective(Lodge record);

    List<Lodge> selectByExampleWithBLOBs(LodgeExample example);

    List<Lodge> selectByExample(LodgeExample example);

    Lodge selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") Lodge record, @Param("example") LodgeExample example);

    int updateByExampleWithBLOBs(@Param("record") Lodge record, @Param("example") LodgeExample example);

    int updateByExample(@Param("record") Lodge record, @Param("example") LodgeExample example);

    int updateByPrimaryKeySelective(Lodge record);

    int updateByPrimaryKeyWithBLOBs(Lodge record);

    int updateByPrimaryKey(Lodge record);


    /**
     *  自定义方法
     */
    public List<Lodge> getListPage(LodgeExample example);


    public List<Lodge> getAllLodge(LodgeExample example);

}